/*
 * File name: IPluginModuleEntry.java
 * 
 * Description: TODO
 *
 * Author: Theobald_Wu, contact with wuqizhi@tydtech.com
 * 
 * Date: Jun 8, 2015  3:23:07 PM
 * 
 * Copyright (C) 2015 Zhouyou Network Technology Co.,Ltd.
 * 
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.freeme.camera;

import com.freeme.camera.data.PictureSizeInfo;
import com.freeme.camera.data.Size;

import android.graphics.drawable.Drawable;
import android.view.ViewGroup;
import android.net.Uri;

public interface IPluginModuleEntry {
    int getModuleID();

    String getPkgName();

    Drawable getModuleIcon();

    String getModuleTitle();

    void showPanel(ViewGroup root);

    void hidePanel();

    void switchPanel(ViewGroup root);

    byte[] blendOutput(byte[] jpegData);

    void mediaSaved(Uri uri);
    
    PictureSizeInfo getPictureSizeInfo();
    
    boolean isInterceptCapture();
    
    void setVisible(int visible);
    
}
